package com.cloudDemoProduct.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @Author Daft_V
 * @Date 2022/5/5 23:48
 */
@Configuration
public class RestTemplateConf {
    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
